package com.fingard.dsp.bank.reqrespobj.elecbilltrans.detail;

import com.fingard.xml.XElement;

/**
 * Created by dell on 2017/10/1.
 */
public class ReqB110BillRecoSubmitDetail {
    //    支付请求码
    public String reqSeqID;
    //    银行账号
    public String actNum;
    public String actArea;
    //     电子票据序列号
    public String billNo;
    //    票据币种
    public String billCur;
    //    追索类型 1-拒付追索 2-非拒付追索
    public String recourseType;
    //    追索金额
    public String recourseAmt;

    //     追索理由代码（非拒付时） 1-承兑人被依法宣告破产 2-承兑人因违法被责令终止活动
    public String recourseCode;
    //    接收人名称
    public String receName;
    //    接收人组织机构代码
    public String receCode;
    //    接收人账号
    public String receAct;
    //    接收人开户行行名
    public String receBnkName;

    //    接收人开户行行号
    public String receBnkCode;
    //    备注
    public String memo;
    //    票面金额
    public String billAmt;
    //    追索人全称
    public String recoName;
    //    追索人开户行行号
    public String recoBnkCode;

    public String recoBnkCode1;

    //    业务流水号
    public String busiNo;

    //出票人名称
    public String billOpenName;
    //出票人账号
    public String billOpenAcc;

    //申请人组织机构代码
    public String applyCode;

    public XElement srcElement;

    public ReqB110BillRecoSubmitDetail(XElement p_element) throws Exception {
        srcElement = p_element;
        reqSeqID = srcElement.getSingleText("ReqSeqID");
        actNum = srcElement.getSingleText("ActNum");
        actArea =srcElement.getSingleText("ActArea");
        billNo = srcElement.getSingleText("BillNo");
        billCur = srcElement.getSingleText("BillCur");
        recourseType = srcElement.getSingleText("RecourseType");
        recourseAmt = srcElement.getSingleText("RecourseAmt");

        recourseCode = srcElement.getSingleText("RecourseCode");
        receName = srcElement.getSingleText("ReceName");
        receCode = srcElement.getSingleText("ReceCode");
        receAct = srcElement.getSingleText("ReceAct");
        receBnkName = srcElement.getSingleText("ReceBnkName");

        receBnkCode = srcElement.getSingleText("ReceBnkCode");
        memo = srcElement.getSingleText("Memo");
        billAmt = srcElement.getSingleText("BillAmt");
        recoName = srcElement.getSingleText("RecoName");
        recoBnkCode = srcElement.getSingleText("RecoBnkCode");

        recoBnkCode1 = srcElement.getSingleText("RecoBnkCode1");

        billOpenName = srcElement.getSingleText("BillOpenName");
        billOpenAcc = srcElement.getSingleText("BillOpenAcc");

        busiNo = srcElement.getSingleText("BusiNo");
        applyCode = srcElement.getSingleText("ApplyCode");

    }
}
